# 使用while，完成以下图形的输出

#方法1:单变量
i = '*'
while i <='*' * 5:
    print(f'{i}')
    i += '*'

#方法2:双变量
str = '*'
int = 1
while int <= 5:
    print(str * int)
    int += 1

print('--' * 20)

i = "*"
while i <= '*' * 9:
    print(i)
    i += "**"


